<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>ThinkPHP示例：带查询数据分页显示</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/myPage.css" /> 
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css" />      
    </head>
    <body>
        <div class="main">
            <h2>带查询数据分页显示</h2>
            带查询数据分页显示。
            <form method='post' action="__URL__/index">
                <table cellpadding="2" cellspacing="2" >
                    <tr>
                        <td class="tRight" width="12%">帐号：</td>
                        <td class="tLeft" colspan="6"><input type="text" name="account" style="height:23px" value="<?php echo ($condition["account"]); ?>" class="large bLeft"></td>
                    </tr>
                    <tr>
                        <td class="tRight" >verify：</td>
                        <td class="tLeft"  colspan="6"><input type="text" name="verify" style="height:23px" value="<?php echo ($condition["verify"]); ?>" class="large bLeft"></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  colspan="6"><input type="submit" class="button" value="查询"></td>
                    </tr>
                       <tr>
                         <td>帐号</td>
                         <td>用户名</td>
                         <td>IP</td>
                         <td>登录次数</td>
                         <td>邮箱</td>
                         <td>备注</td>
                          <td>创建时间</td>
                       </tr>             
                    <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                            <td  style="border-bottom:1px dotted silver"><?php echo ($vo["account"]); ?></td>
                            <td  style="border-bottom:1px dotted silver"><?php echo ($vo["nickname"]); ?></td>
                            <td  style="border-bottom:1px dotted silver"><?php echo ($vo["last_login_ip"]); ?></td>
                             <td  style="border-bottom:1px dotted silver"><?php echo ($vo["login_count"]); ?></td>
                            <td  style="border-bottom:1px dotted silver"><?php echo ($vo["email"]); ?></td>
                            <td  style="border-bottom:1px dotted silver"><?php echo ($vo["remark"]); ?></td>
                            <td  style="border-bottom:1px dotted silver"><?php echo (date('Y-m-d H:i:s',$vo["create_time"])); ?></td>
                        </tr>
                        <tr >
                            <td></td>
                            <td  colspan="6"><div class="content"><?php echo (nl2br($vo["content"])); ?></div></td>
                        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                     <tr>
                        <td></td><td  colspan="6"> <div class="green-black"><?php echo ($page); ?></div></td>
                     </tr>
                </table>
                 </form>
        </div>
    </body>
</html>